package org.nch.videoLauncher.view;

import org.nch.videoLauncher.domain.VideoItem;
import org.nch.videoLauncher.presenter.AddEditVideoPresenter;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: bill
 * Date: Nov 18, 2008
 * Time: 1:36:13 PM
 * To change this template use File | Settings | File Templates.
 */
public interface IAddEditVideoView {

    public void setVideoList(List<VideoItem> videoItems);
    public void setPresenter(AddEditVideoPresenter presenter);

    public void setDetailTitle(String title);
    public void setDetailFilename(String filename);
    public void setDetailUrl(String url);
    public void setDetailDescription(String description);
    public void setDetailKeywords(String keywords);
    public void setRuntime(String runtime);
    public void setImdbKey(String key);
    public void setImdbTitle(String title);
    public void setImdbRating(String rating);
    public void setImdbDate(String date);
    public void setImdbDirected(String directed);
    public void setImdbWritten(String written);
    public void setImdbMpaa(String mpaa);
    public void setImdbCast(String cast);
    public void setSportSport(String sport);
    public void setSportSeason(String season);
    public void setSportTeam(String team);
    public void setSportDate(String date);
    public void setSportCompetition(String competition);
    public void setTvShow(String show);
    public void setTvSeason(String season);
    public void setTvEpisode(String episode);

    public String getDetailTitle();
    public String getDetailFilename();
    public String getDetailUrl();
    public String getSelectedFilename();
    public String getDescription();
    public String getKeywords();
    public String getRuntime();
    public String getImdbKey();
    public String getImdbTitle();
    public String getImdbRating();
    public String getImdbDate();
    public String getImdbDirected();
    public String getImdbWritten();
    public String getImdbMpaa();
    public String getImdbCast();
    public String getSportSport();
    public String getSportSeason();
    public String getSportTeam();
    public String getSportDate();
    public String getSportCompetition();
    public String getTvShow();
    public String getTvSeason();
    public String getTvEpisode();    


    public boolean getDetailHasChanged();
    public Integer getCurrentSelection();
    public void setCurrentSelection(Integer index);
    public void clearDetails();
    public void setDetailsEnabled(boolean enabled);
    public void setBrowseUrlEnabled(boolean enabled);
    public void setPlayNowEnabled(boolean enabled);
    public void setFetchEnabled(boolean enabled);
    public void setCoverImage(byte[] img);
    public void clearImage();

    public boolean isFileSelected(String baseVideoPath);

    public Integer getCurrentFileSelection();
    public void setCurrentFileSelection(Integer index);
    public void addFileListElement(String name);
    public void removeFileListElement(Integer index);
    public void updateFileListElement(Integer index, String name);
    public void setAddFileButtonEnabled(boolean enabled);
    public void setDeleteFileButtonEnabled(boolean enabled);
    public void setBrowseFileButtonEnabled(boolean enabled);
    public String getBrowseFileText();
    public void setBrowseFileText(String filename);

    public void setTvCopyButtonEnabled(boolean enabled);

}
